//
//  RHInverterModel.h
//  RuiHeAppApp
//
//  Created by Yan Chen on 2024/6/13.
//

#import "BaseModel.h"
#import "DeviceChartFieldModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface RHInverterModel : BaseModel
@property (nonatomic, copy) NSString *sectionType;

@property (nonatomic, assign) BOOL isShowMore;//是否显示更多

@property (nonatomic, copy) NSString *title;//组标题和行标题

@property (nonatomic, copy) NSString *icon;//行的图标

@property (nonatomic, assign) NSInteger showCount;//显示个数

@property (nonatomic, strong) NSArray <RHInverterModel*> *rowDataArr;//有多少行

@property (nonatomic, strong) NSArray *itemArr; //每行的数据,根据rowkeys生成,如果是一维数组,内容是 DeviceChartFieldModel对象,如果是二维数组 ,则内容是装有DeviceChartFieldModel的数组

//1.cell每行的key,有一维数组和二维数据
//2.数据点要进行排列的key
@property (nonatomic, strong) NSArray *rowKeys;


@property (nonatomic, strong) NSArray *horizontalTitle;//水平方向标题
@property (nonatomic, strong) NSArray *horizontalUnit;//水平方向标题的单位
@property (nonatomic, strong) NSArray *verticalTitle;//左边竖直方向标题
@property (nonatomic, strong) NSArray *verticalUnit;//左边竖直方向标题的单位
@property (nonatomic, assign) NSInteger selectIndex;//选择的下标
@end

NS_ASSUME_NONNULL_END
